package com.softoa.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;

public class User {

    private long userId;
    private String userPhone;
    private long userPay;
    private String userPosition;
    private String userPassword;
    private String userName;
    private String userJob;
    private long userAge;
    private String userSex;
    private String userIdentify;
    private java.sql.Timestamp userEntry;
    private java.sql.Timestamp userDimission;
    private long userEntNum;
    private String userAvatar;

    private long deptId;
    //  添加部门属性
    private Department department;

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }

    public long getDeptId() {
        return deptId;
    }

    public void setDeptId(long deptId) {
        this.deptId = deptId;
    }


    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }


    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }


    public long getUserPay() {
        return userPay;
    }

    public void setUserPay(long userPay) {
        this.userPay = userPay;
    }


    public String getUserPosition() {
        return userPosition;
    }

    public void setUserPosition(String userPosition) {
        this.userPosition = userPosition;
    }


    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }


    public String getUserJob() {
        return userJob;
    }

    public void setUserJob(String userJob) {
        this.userJob = userJob;
    }


    public long getUserAge() {
        return userAge;
    }

    public void setUserAge(long userAge) {
        this.userAge = userAge;
    }


    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }


    public String getUserIdentify() {
        return userIdentify;
    }

    public void setUserIdentify(String userIdentify) {
        this.userIdentify = userIdentify;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public java.sql.Timestamp getUserEntry() {
        return userEntry;
    }

    public void setUserEntry(java.sql.Timestamp userEntry) {
        this.userEntry = userEntry;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public java.sql.Timestamp getUserDimission() {
        return userDimission;
    }

    public void setUserDimission(java.sql.Timestamp userDimission) {
        this.userDimission = userDimission;
    }


    public long getUserEntNum() {
        return userEntNum;
    }

    public void setUserEntNum(long userEntNum) {
        this.userEntNum = userEntNum;
    }


}
